package itqf.utils;

import java.util.Random;

/**
 * com.itqf.utils
 * 2020/9/14
 */
public class ActiveCodeUtils { private  StringBuffer s = new StringBuffer();
    public static  String getActiveCode(){
        StringBuffer s = new StringBuffer();
        for (int i = 0; i < 20; i++) {
            char a = (char)(new Random().nextInt(26)+'A');
            s.append(a);
        }
        return s.toString();
    }
}
